-
Notifications
You must be signed in to change notification settings - Fork 2.8k
ZEPPELIN-1287. No need to call print to display output in PythonInterpreter #1278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
\cc @bzz @Leemoonsoo ready for review, not sure whether the test fail is relevant. CI is very unstable recently, we might need to fix it asap 😃. |
| import java.io.IOException; | ||
| import java.io.OutputStreamWriter; | ||
| import java.io.InputStreamReader; | ||
| import java.io.*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging import to "*" is not recommended. Could you please expand it?
|
Thanks for the contribution. Tested and it works great. |
|
Looks like test is not passing @zjffdu Could you take a look? |
|
@zjffdu Thanks for the contribution! LGTM |
|
Merge to master if there's no more discussion |
|
Can we merge this into branch-0.6 too? FYI #1232 is merged to branch-0.6. It will be nice to provide same user experience both in pyspark and python interpreter |
|
+1 for merging this into branch-0.6 |
1 similar comment
|
+1 for merging this into branch-0.6 |
…n PythonInterpreter ### What is this PR for? Implement #1278 to merge branch-0.6 ### What type of PR is it? Bug Fix ### What is the Jira issue? [ZEPPELIN-1287](https://issues.apache.org/jira/browse/ZEPPELIN-1287) ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Mina Lee <[email protected]> Closes #1320 from minahlee/branch-0.6_ZEPPELIN-1287 and squashes the following commits: f99f8aa [Mina Lee] return result directly ac83b14 [Mina Lee] No need to call print to display output in PythonInterpreter
What is this PR for?
It is not necessary to call print to display output in PythonInterpreter. 2 main changes:
What type of PR is it?
[Bug Fix]
Todos
What is the Jira issue?
How should this be tested?
Verify it manually
Screenshots (if appropriate)
Questions: